//
//  IGActivityCollectionHeaderView.h
//  jingdongfang
//
//  Created by boectoswteam on 2018/5/10.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

typedef NS_ENUM(NSInteger,IGACTIVITYTYPE) {
    IGACTIVITY_EXHIBITION,
    IGACTIVITY_COMPETITION
};

typedef void (^joinCompetitionBlock)(void);

#import <UIKit/UIKit.h>
#import "IGActivityDetailApi.h"

@interface IGActivityCollectionHeaderView : UICollectionReusableView
@property (nonatomic, strong) IGActivityDetailModel *data;                    //数据源
@property (nonatomic, copy) joinCompetitionBlock competitionBlock;
-(instancetype)initWithType:(IGACTIVITYTYPE)type;

@end
